package com.gem.vo;

import com.gem.entity.OrderItem;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author 刘聪
 * Created  on 2021/4/22
 */
@Data
public class OrderVO {
    private Integer id;
    private String orderNo;
    private Integer userId;
    /**
     * 产品总价
     */
    private Double totalPrice;
    /**
     * 订单状态:0-已取消-10-未付款，20-已付款，40-已发货，50-交易成功，60-交易关闭
     */
    private Integer status;
    /**
     * 订单生成时间
     */
    private Date createTime;
    /**
     * 付款时间
     */
    private Date paymentTime;
    /**
     * 发货时间
     */
    private Date sendTime;
    /**
     * 一个订单里的商品
     */
    private List<OrderItem> itemList;
    /**
     * 地址Id
     */
    private Integer shippingId;
    private String receiverName;
    private String receiverMobile;
    private String receiverProvince;
    private String receiverCity;
    private String receiverDistrict;
    private String receiverAddress;
}
